			
			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
			<div class="post">
				
				<div class="date">in 
					<?php
					$category = get_the_category(); 
					if(!empty($category))
						echo '<a href="'.get_category_link($category[0]->term_id ).'">'.$category[0]->cat_name.'</a>';
					?> 
					- <?php the_time('d M, Y') ?>
				</div>
				<div class="author">by <?php the_author(); ?> <span> - <?php comments_number( '0 bình luận', '1 bình luận', '% bình luận' ); ?></span></div><div class="clearfix"></div>
				<div class="title"><?php the_title(); ?></div>
				<div class="content"><?php the_content(''); ?></div>
			</div><!--/post-->
            
            <div class="postauthor-container">
                <h4><?php _e('About The Author', 'mythemeshop'); ?></h4>
                <div class="postauthor">
                    <?php if(function_exists('get_avatar')) { echo get_avatar( get_the_author_meta('email'), '100' );  } ?>
                    <h5><?php the_author_meta( 'nickname' ); ?></h5>
                    <p><?php the_author_meta('description') ?></p>
                </div>
            </div>
            <div class="clearfix"></div>
			<?php comments_template( '', true ); ?>
			<?php endwhile; /* Use PageNavi*/ else : ?>
				<b>404 Not Found</b>
			<?php endif; ?>